package com.hxzy.common.enums;

import lombok.Getter;

/**
 * 业务类型（0其它 1新增 2修改 3删除）
 */
@Getter
public enum BusinessType {
    INSERT(1,"新增"),
    UPDATE(2,"修改"),
    DELETE(3,"删除"),
    OTHER(0,"其它");

    private Integer id;
    private String name;

    BusinessType(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
